package jin.si.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class JsCourse {

  private Integer courseId;
  private Integer userId;
  private Integer classId;
  private Integer recommend;
  private String recommendd;
  private String courseName;
  private String courseIntro;
  private String coursePrice;
  private String courseNprice;
  private Integer courseStatus;
  private Integer courseCstatus;
  private String coursePrimary;
  private String url;
  private String courseUrl;
  private String courseInfo;
  private Integer courseNo;
  private Integer courseTime;
  private Integer likeNum;
  private Integer shareNum;
  private Integer collectNum;
  private Integer lookNum;
  private Integer saleNum;
  private Integer id;
  private String createId;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Date createDate;
  private String updateId;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Date updateDate;

  private String title;//课程分类名称
  private String trueName;//用户名称
  private Integer commentNum;//评论量
  private Integer commodityId;
  private String freestyle;
  private String name;
  private String avatarUrl;
  private String commentDate;
  private String content;
  private Integer fabulous;
  private String nickname;
  private String color="#606266";
  private String courseColor="#909399";

  public JsCourse() {
    super();
  }

  public JsCourse(Integer courseId, Integer userId, Integer classId, Integer recommend, String recommendd, String courseName, String courseIntro, String coursePrice, String courseNprice, Integer courseStatus, Integer courseCstatus, String coursePrimary, String url, String courseUrl, String courseInfo, Integer courseNo, Integer courseTime, Integer likeNum, Integer shareNum, Integer collectNum, Integer lookNum, Integer saleNum, Integer id, String createId, Date createDate, String updateId, Date updateDate, String title, String trueName, Integer commentNum, Integer commodityId, String freestyle, String name, String avatarUrl, String commentDate, String content, Integer fabulous, String nickname, String color, String courseColor) {
    this.courseId = courseId;
    this.userId = userId;
    this.classId = classId;
    this.recommend = recommend;
    this.recommendd = recommendd;
    this.courseName = courseName;
    this.courseIntro = courseIntro;
    this.coursePrice = coursePrice;
    this.courseNprice = courseNprice;
    this.courseStatus = courseStatus;
    this.courseCstatus = courseCstatus;
    this.coursePrimary = coursePrimary;
    this.url = url;
    this.courseUrl = courseUrl;
    this.courseInfo = courseInfo;
    this.courseNo = courseNo;
    this.courseTime = courseTime;
    this.likeNum = likeNum;
    this.shareNum = shareNum;
    this.collectNum = collectNum;
    this.lookNum = lookNum;
    this.saleNum = saleNum;
    this.id = id;
    this.createId = createId;
    this.createDate = createDate;
    this.updateId = updateId;
    this.updateDate = updateDate;
    this.title = title;
    this.trueName = trueName;
    this.commentNum = commentNum;
    this.commodityId = commodityId;
    this.freestyle = freestyle;
    this.name = name;
    this.avatarUrl = avatarUrl;
    this.commentDate = commentDate;
    this.content = content;
    this.fabulous = fabulous;
    this.nickname = nickname;
    this.color = color;
    this.courseColor = courseColor;
  }

  public Integer getCourseId() {
    return courseId;
  }

  public void setCourseId(Integer courseId) {
    this.courseId = courseId;
  }

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public Integer getClassId() {
    return classId;
  }

  public void setClassId(Integer classId) {
    this.classId = classId;
  }

  public Integer getRecommend() {
    return recommend;
  }

  public void setRecommend(Integer recommend) {
    this.recommend = recommend;
  }

  public String getRecommendd() {
    return recommendd;
  }

  public void setRecommendd(String recommendd) {
    this.recommendd = recommendd;
  }

  public String getCourseName() {
    return courseName;
  }

  public void setCourseName(String courseName) {
    this.courseName = courseName;
  }

  public String getCourseIntro() {
    return courseIntro;
  }

  public void setCourseIntro(String courseIntro) {
    this.courseIntro = courseIntro;
  }

  public String getCoursePrice() {
    return coursePrice;
  }

  public void setCoursePrice(String coursePrice) {
    this.coursePrice = coursePrice;
  }

  public String getCourseNprice() {
    return courseNprice;
  }

  public void setCourseNprice(String courseNprice) {
    this.courseNprice = courseNprice;
  }

  public Integer getCourseStatus() {
    return courseStatus;
  }

  public void setCourseStatus(Integer courseStatus) {
    this.courseStatus = courseStatus;
  }

  public Integer getCourseCstatus() {
    return courseCstatus;
  }

  public void setCourseCstatus(Integer courseCstatus) {
    this.courseCstatus = courseCstatus;
  }

  public String getCoursePrimary() {
    return coursePrimary;
  }

  public void setCoursePrimary(String coursePrimary) {
    this.coursePrimary = coursePrimary;
  }

  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }

  public String getCourseUrl() {
    return courseUrl;
  }

  public void setCourseUrl(String courseUrl) {
    this.courseUrl = courseUrl;
  }

  public String getCourseInfo() {
    return courseInfo;
  }

  public void setCourseInfo(String courseInfo) {
    this.courseInfo = courseInfo;
  }

  public Integer getCourseNo() {
    return courseNo;
  }

  public void setCourseNo(Integer courseNo) {
    this.courseNo = courseNo;
  }

  public Integer getCourseTime() {
    return courseTime;
  }

  public void setCourseTime(Integer courseTime) {
    this.courseTime = courseTime;
  }

  public Integer getLikeNum() {
    return likeNum;
  }

  public void setLikeNum(Integer likeNum) {
    this.likeNum = likeNum;
  }

  public Integer getShareNum() {
    return shareNum;
  }

  public void setShareNum(Integer shareNum) {
    this.shareNum = shareNum;
  }

  public Integer getCollectNum() {
    return collectNum;
  }

  public void setCollectNum(Integer collectNum) {
    this.collectNum = collectNum;
  }

  public Integer getLookNum() {
    return lookNum;
  }

  public void setLookNum(Integer lookNum) {
    this.lookNum = lookNum;
  }

  public Integer getSaleNum() {
    return saleNum;
  }

  public void setSaleNum(Integer saleNum) {
    this.saleNum = saleNum;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getCreateId() {
    return createId;
  }

  public void setCreateId(String createId) {
    this.createId = createId;
  }

  public Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(Date createDate) {
    this.createDate = createDate;
  }

  public String getUpdateId() {
    return updateId;
  }

  public void setUpdateId(String updateId) {
    this.updateId = updateId;
  }

  public Date getUpdateDate() {
    return updateDate;
  }

  public void setUpdateDate(Date updateDate) {
    this.updateDate = updateDate;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public String getTrueName() {
    return trueName;
  }

  public void setTrueName(String trueName) {
    this.trueName = trueName;
  }

  public Integer getCommentNum() {
    return commentNum;
  }

  public void setCommentNum(Integer commentNum) {
    this.commentNum = commentNum;
  }

  public Integer getCommodityId() {
    return commodityId;
  }

  public void setCommodityId(Integer commodityId) {
    this.commodityId = commodityId;
  }

  public String getFreestyle() {
    return freestyle;
  }

  public void setFreestyle(String freestyle) {
    this.freestyle = freestyle;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getAvatarUrl() {
    return avatarUrl;
  }

  public void setAvatarUrl(String avatarUrl) {
    this.avatarUrl = avatarUrl;
  }

  public String getCommentDate() {
    return commentDate;
  }

  public void setCommentDate(String commentDate) {
    this.commentDate = commentDate;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public Integer getFabulous() {
    return fabulous;
  }

  public void setFabulous(Integer fabulous) {
    this.fabulous = fabulous;
  }

  public String getNickname() {
    return nickname;
  }

  public void setNickname(String nickname) {
    this.nickname = nickname;
  }

  public String getColor() {
    return color;
  }

  public void setColor(String color) {
    this.color = color;
  }

  public String getCourseColor() {
    return courseColor;
  }

  public void setCourseColor(String courseColor) {
    this.courseColor = courseColor;
  }

  @Override
  public String toString() {
    return "JsCourse{" +
            "courseId=" + courseId +
            ", userId=" + userId +
            ", classId=" + classId +
            ", recommend=" + recommend +
            ", recommendd='" + recommendd + '\'' +
            ", courseName='" + courseName + '\'' +
            ", courseIntro='" + courseIntro + '\'' +
            ", coursePrice='" + coursePrice + '\'' +
            ", courseNprice='" + courseNprice + '\'' +
            ", courseStatus=" + courseStatus +
            ", courseCstatus=" + courseCstatus +
            ", coursePrimary='" + coursePrimary + '\'' +
            ", url='" + url + '\'' +
            ", courseUrl='" + courseUrl + '\'' +
            ", courseInfo='" + courseInfo + '\'' +
            ", courseNo=" + courseNo +
            ", courseTime=" + courseTime +
            ", likeNum=" + likeNum +
            ", shareNum=" + shareNum +
            ", collectNum=" + collectNum +
            ", lookNum=" + lookNum +
            ", saleNum=" + saleNum +
            ", id=" + id +
            ", createId='" + createId + '\'' +
            ", createDate=" + createDate +
            ", updateId='" + updateId + '\'' +
            ", updateDate=" + updateDate +
            ", title='" + title + '\'' +
            ", trueName='" + trueName + '\'' +
            ", commentNum=" + commentNum +
            ", commodityId=" + commodityId +
            ", freestyle='" + freestyle + '\'' +
            ", name='" + name + '\'' +
            ", avatarUrl='" + avatarUrl + '\'' +
            ", commentDate='" + commentDate + '\'' +
            ", content='" + content + '\'' +
            ", fabulous=" + fabulous +
            ", nickname='" + nickname + '\'' +
            ", color='" + color + '\'' +
            ", courseColor='" + courseColor + '\'' +
            '}';
  }
}
